SftTree/NET 2.0

Expand Method, ItemCollectionClass Class

Softel vdm, Inc.

Collapses all items in the item collection so their dependents are hidden.

Syntax      ItemCollectionClass Class (Softelvdm.SftTreeNET)

VB   

Public Sub Expand( ByVal Style As ExpandStyleEnum )

C#   

public void Expand( ExpandStyleEnum Style );

C++   

public: void Expand( ExpandStyleEnum Style );

Style

Defines how the items and their dependents are collapsed.

ExpandStyleEnum

Value

Description

All

0

Expand all dependent items, including indirect dependent items resulting in all dependents fully expanded.

DirectOnly

1

Expand this item, collapse all its dependents.

Simple

2

Expand this item, leave its dependents unchanged.

RestoreLast

3

Expand this item and restore all its dependents to their last saved state.

Comments

The Expand method collapses all items in the item collection so their dependents are hidden.

This method can only be used for items in the item area.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com